package Pet.Management.repository;

import Pet.Management.domain.PetCareOffer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PetCareOfferRepository extends JpaRepository<PetCareOffer, Long> {
    List<PetCareOffer> findByDemandId(Long demandId);
    List<PetCareOffer> findByAcceptorId(Long acceptorId);
    List<PetCareOffer> findByDemandUserId(Long demandUserId);
    List<PetCareOffer> findByStatus(String status);
} 